//
//  TextNode.h
//  iFlickr
//
//  Created by 张 霄鹤 on 09-7-5.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "Node.h"

@interface TextNode : Node{
	NSString *text;
}

@property(nonatomic, retain) NSString *text;

/**
 * 通过文字创建节点
 */
+ (id)textNodeWithText:(NSString *)str;

- (id)initWithText:(NSString *)str;

/**
 * 获取节点名称
 */
- (NSString *)getNodeName;

@end
